package com.geeaks.learn.java8;

public class TestTry {
	
	public static void main(String[] args) {
		System.out.println(testtry());
	}

	private static int testtry() {
		try {
			System.out.println("执行try");
			throw new Exception("xxx");
//			return 1;
		} catch(Exception e) {
			System.out.println("catch");
			return 2;
		} finally {
//			return 3;
		}
	}
}
